#ifndef OBJECTMODELRENDERER_H_
#define OBJECTMODELRENDERER_H_

#include <map>
#include <string>
#include "model/objectModel/objectModel.h"
#include "model/cube.h"

class ObjectModelRenderer {
	private:
		std::map<std::string,unsigned int> textures;

		unsigned int getTexture(Material& mat);
	public:
		ObjectModelRenderer();
		virtual ~ObjectModelRenderer();

		void render(ObjectModel& model,bool notex=false);
		void addShadowProyection(const Point& planeNormal,const Point& planePoint,const Point& lightPos);
};

#endif /* OBJECTMODELRENDERER_H_ */
